package com.lj.service;

import java.util.ArrayList;
import java.util.List;

import com.lj.dao.BorrowBooksmpl;
import com.lj.entity.BorrowBooks;

public class UserBorrowBook {
	private  BorrowBooksmpl  bbs;
	/**
	 * 看自己借了什么书
	 * @param user_id
	 * @return
	 */
	public List<BorrowBooks> findBorrowBooksByUserId(int user_id){
		bbs= new BorrowBooksmpl();
		List<BorrowBooks> list =new ArrayList<BorrowBooks>();
		list = bbs.findBorrowBooksByUserId(user_id);
		return list;
	}

}
